package com.atguigu.gmall.publisher.service.impl;

import com.atguigu.gmall.publisher.bean.UserAction;
import com.atguigu.gmall.publisher.mapper.UserActionMapper;
import com.atguigu.gmall.publisher.service.UserActionServince;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserActionServinceImp implements UserActionServince {
    @Autowired
    private UserActionMapper userActionMapper;
    @Override
    public List<UserAction> getUserAction(Integer date) {
        return userActionMapper.selectUserAction(date);
    }
}
